package com.zfast.config.entity;

//import io.swagger.annotations.ApiModel;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.stereotype.Component;

import javax.persistence.*;

/**
 * @Classname Log
 * @Description None
 * @Date 2019/7/24 9:51
 * @Created by WDD
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Component
@Entity
@Table(name = "t_sys_log")
//@ApiModel(value = "Log", description = "系统用户")
public class Log {
    @Id
    @GenericGenerator(name = "user-uuid", strategy = "uuid")
    @GeneratedValue(generator = "user-uuid")
    @Column(name = "id")
    private String id;
    @Column(name = "log_time")
    private String logTime;
    private String username;
    private String uri;
}
